{# Rendered with \Sylius\Bundle\AdminBundle\Twig\Component\Taxon\FormComponent #}

{% form_theme form '@SyliusAdmin/taxon/form_theme.html.twig' %}

<div {{ attributes }}>
    {{ form_start(form, {'attr': {'class': 'ui loadable form', 'novalidate': 'novalidate', 'id': form.vars.id}}) }}
    {% if hookable_metadata.configuration.method is defined %}
        <input type="hidden" name="_method" value="{{ hookable_metadata.configuration.method }}" />
    {% endif %}
    {{ form_errors(form) }}
    {{ form_widget(form._token) }}

    {% hook 'form' with { form } %}

    {{ form_end(form, {render_rest: hookable.configuration.render_rest|default(false)}) }}
</div>
